.PHONY:all
all:tcp_client tcp_server 

tcp_client:tcp_client.cc
	g++ -std=c++11 -g -lpthread -o $@ $^
tcp_server:tcp_server.cc
	g++ -std=c++11 -g -lpthread -o $@ $^

.PHONY:clean
clean:
	rm -rf tcp_client tcp_server
